package com.cloud.screen.api.service;

import com.cloud.screen.api.entity.ScreenReqInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by sl on 2019/6/26.
 */
public interface PunishService {

    /**
     * 案件指数
     * @param regionid
     * @return
     */
    List<Map<String,Object>> getLegalCaseInfo(String start ,String end,Long regionid,Integer type,Integer recType);

    /**
     * 问题来源
     * @param start
     * @param end
     * @param regionid
     * @return
     */
    List<Map<String,Object>> getLegalCaseSource(String start, String end, Long regionid,Integer recType);

    /**
     * 区域分布
     * @param start
     * @param end
     * @param regionid
     * @param recType
     * @return
     */
    Map<String,Object> getLegalCaseRegion(String start, String end, Long regionid, Integer recType);

    /**
     * top5 执法领域
     * @param start
     * @param end
     * @param regionid
     * @param recType
     * @return
     */
    List<Map<String,Object>> getLegalCaseDomain(String start, String end, Long regionid, Integer recType, Integer num);

    /**
     * 首页悬浮栏
     * @param start
     * @param end
     * @return
     */
    Map<String,Object> getLegalCaseGeneral(String start, String end,Long regionid);

    List<Map<String,Object>>  getLawCaseTop5(String start, String end, Long regionid, Integer recType);

    List<Map<String,Object>>  getLawCaseTop(String start, String end, Long regionid, Integer num);

    List<Map<String,Object>> getLawUseStat(String start, String end, Long regionid);

    /**
     * 行政处罚案由使用统计
     * @param start
     * @param end
     * @param regionid
     * @param lawID
     * @return
     */
    List<Map<String,Object>> getCauseUseStat(String start, String end, Long regionid, String lawID);

    List<Map<String,Object>> getPunishByRegionId(ScreenReqInfo info);
}
